﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RRRSRoguelike;
using System.Drawing;

namespace RRRSRoguelike.Entities
{
    /// <summary>
    /// Steps are the linking object between different dungeon levels
    /// </summary>
    public class Stairwell: Tile
    {
        StepDirection stepDirection;

        public StepDirection StepDirection
        {
            get { return stepDirection; }
            set { stepDirection = value; }
        } 
        
        public Stairwell(Point position, StepDirection upOrDown)
            : base(Constants.StepsImage,Constants.StepUpColor,position)
        {
            this.Description = "StairWell";
            StepDirection = upOrDown;
            if (StepDirection == StepDirection.Up)
                this.Color = Constants.StepUpColor;
            else
                this.Color = Constants.StepDownColor;    
        }
    }
}
